package com.cxdr.awsips.packing.file;

import java.io.IOException;

import com.cxdr.awsips.packing.bean.Target;

public class FileHelperFactoy {
	public static FileHelper getHelper(Target target) throws IOException{
		switch (target.getProtocol()){
		case FTP:
			return new FTPFileHelper(target);
		case LOCAL:
			return new LocalFileHelper(target);
		}
			
		return null;
	}

	
}
